package zx.x.modules.app.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import zx.x.common.utils.PageUtils;
import zx.x.common.utils.Query;

import zx.x.modules.app.dao.SysOrderLogDao;
import zx.x.modules.app.entity.SysOrderLogEntity;
import zx.x.modules.app.service.SysOrderLogService;


@Service("sysOrderLogService")
public class SysOrderLogServiceImpl extends ServiceImpl<SysOrderLogDao, SysOrderLogEntity> implements SysOrderLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysOrderLogEntity> page = this.page(
                new Query<SysOrderLogEntity>().getPage(params),
                new QueryWrapper<SysOrderLogEntity>()
        );

        return new PageUtils(page);
    }

}